<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>员工详情</title>
<link rel="icon" href="<c:url value='/imgs/logo.ico' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/index.css' />" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/add.css' />" />
<script type="text/javascript" charset="utf-8" src="<c:url value='/scripts/jquery-2.1.0.js'/>"></script>
</head>
<body>
	<div class="container">
		<%@ include file="/jsps/top.jsp"%>
		<div class="main">
			<form class="form employee">
				<h2>员工详情</h2>
				<table>
					<tr>
						<td><label class="tit">头&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;像：</label></td>
						<td>
							<img class="headpic" alt="头像图片" src="<c:url value='/upload/${employee.picmd5 }'/>" />
						</td>
					</tr>
					<tr>
						<td><label>机&nbsp;构&nbsp;号：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.mechanism.mechid }" readonly/>
						</td>
					</tr>
					<tr>
						<td><label>机&nbsp;构&nbsp;名：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.mechanism.mechname }" readonly/>
						</td>
					</tr>
					<tr>
						<td><label>工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.empid }" readonly/>
						</td>
					</tr>
					<tr>
						<td><label>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.name }" readonly/>
						</td>
					</tr>
					<tr>
						<td><label>身份证号：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.idnumber }" readonly/>
						</td>
					</tr>
					<tr>
						<td><label>权&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;限：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.power }" readonly/>
						</td>
					</tr>
					<tr>
						<td><label>状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</label></td>
						<td>
							<input type="text" class="txt" value="${employee.state }" readonly/>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
	<script type="text/javascript">
		$(function(){
			$(".top .title").click(function(){
				location.href="<c:url value='/index.jsp'/>";
			});	
		});
	</script>
</body>
</html>

